package com.hyt.it.ogt.data.service.ks;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.data.model.entity.ks.CandidatePaper;
import com.hyt.it.ogt.data.model.vo.ks.CandidatePaperVO;
import com.hyt.it.ogt.data.model.vo.ks.CandidateSubjectPaperInfoVO;
import com.hyt.it.ogt.data.model.vo.kw.SubjectiveAnswerVO;

import java.util.List;


public interface ICandidatePaperService extends IService<CandidatePaper> {

    /**
     * 获取考生每套试卷信息
     * @param examId
     * @param admissionNumber
     * @return
     */
    List<CandidateSubjectPaperInfoVO> getCandidateSubjectPaperInfo(String examId, String admissionNumber);

    /**
     * 获取考生每套试卷客观题成绩
     * @param examId
     * @param admissionNumber
     * @return
     */
    List<CandidatePaperVO> getCandidatePaperObjectScore(String examId, String admissionNumber);

    /**
     * 获取考生答案
     * @param examId
     * @param admissionNumber
     * @param isBackup
     * @return
     */
    List<SubjectiveAnswerVO> getSubjectiveAnswerByExam(String examId, String admissionNumber, Integer isBackup);
}
